FROM 10.10.100.118/library/openjdk8-openj9:alpine-slim

MAINTAINER mengjj@raysdata.com

RUN mkdir -p /blade/dataasset

WORKDIR /blade/dataasset

EXPOSE 2105

ADD ./target/dataasset.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]

CMD ["--spring.profiles.active=test"]
